package com.hoshiicloud.saleorder.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Time;
import java.time.LocalDateTime;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 平台店铺
 * </p>
 *
 * @author zhangshuhu
 * @since 2019-05-21
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "PlatStoreDto对象", description = "平台店铺")
public class PlatStoreDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "平台ID")
    private Long platid;

    @ApiModelProperty(value = "店铺编号")
    private String storecode;

    @ApiModelProperty(value = "会员ID")
    private Long memberid;

    @ApiModelProperty(value = "店铺名称")
    private String storeName;

    @ApiModelProperty(value = "店铺英文名称")
    private String storeEname;

    @ApiModelProperty(value = "是否平台本身")
    private Integer isplatform;

    @ApiModelProperty(value = "店铺类型（1-旗舰店、2-专卖店、3-专营店）")
    private Long type;

    @ApiModelProperty(value = "店招")
    private String banner;

    @ApiModelProperty(value = "负责人")
    private String charge;

    @ApiModelProperty(value = "身份证号码")
    private String idCard;

    @ApiModelProperty(value = "对公帐号")
    private String bankNumber;

    @ApiModelProperty(value = "银行名称")
    private String bankName;

    @ApiModelProperty(value = "所在支行")
    private String bankAddress;

    @ApiModelProperty(value = "税务登记号")
    private String taxation;

    @ApiModelProperty(value = "开票号")
    private String piaohao;

    @ApiModelProperty(value = "电话号码")
    private String telphone;

    @ApiModelProperty(value = "手机号码")
    private String mobile;

    @ApiModelProperty(value = "传真")
    private String fax;

    @ApiModelProperty(value = "主页")
    private String home;

    @ApiModelProperty(value = "邮件")
    private String email;

    @ApiModelProperty(value = "公司地址，线下门店地址")
    private String address;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createdtime;

    @ApiModelProperty(value = "创建人")
    private String createdby;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime modifiedtime;

    @ApiModelProperty(value = "修改人")
    private String modifiedby;

    @ApiModelProperty(value = "发货地址")
    private String goodsAddress;

    @ApiModelProperty(value = "仓库地址")
    private String whouseAddress;

    @ApiModelProperty(value = "结算方式（结算方式表）")
    private Long paymentId;

    @ApiModelProperty(value = "是否删除")
    private Integer deleted;

    /**
     * 经度
     */
    private BigDecimal longitude;

    /**
     * 纬度
     */
    private BigDecimal latitude;

    /**
     * 客服电话
     */
    private String servicePhone;

    /**
     * 经营领域
     */
    private String business;

    /**
     * 执照编号
     */
    private String licenseNumber;

    /**
     * 营业开始时间
     */
    private Time openingStart;
    /**
     * 营业结束时间
     */
    private Time openingEnd;


    /**
     * 账户可用余额
     */
    private BigDecimal availableBalance;

    /**
     * 账户总额
     */
    private BigDecimal accountBalance;

    /**
     * 冻结金额
     */
    private BigDecimal freezingAmount;

}
